<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">
<head>
    <title>Welcome</title>
</head>
<body>
    <h1>欢迎来到 Spring Boot 示例应用！</h1>
    <form action="/greet" method="post">
        <label for="name">请输入你的名字：</label>
        <input type="text" id="name" name="name" required>
        <button type="submit">提交</button>
    </form>
</body>
</html>